package com.itheima.d04;

import java.util.HashSet;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("小王", 18, 100);
        Student s2 = new Student("小王", 18, 100);
        HashSet<Student> set = new HashSet<>();
        set.add(s1);
        set.add(s2);
        System.out.println(set.toString());


    }
}
